<?php

use yii\db\Migration;

class m170629_005200_alter_statistics_day extends Migration
{
    public function up()
    {
        $this->addColumn('{{%statistics_day}}', 'spread_key_2', 'varchar(32) DEFAULT "" COMMENT "推广人员标识" after guild_sign');
    }

    public function down()
    {
        $this->dropColumn('{{%statistics_day}}', 'spread_key_2');
    }
}
